package com.bsg.upm.dto;

import java.io.Serializable;

/**
 * 慢日志数据传输对象
 * 
 * @author HCK
 *
 */
public class SlowLogDetailDto implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String checkSum;

	private double total;

	private double avg;

	private double max;

	private double min;

	private long count;

	private String querySql;

	private String databse;

	private String host;

	private String user;

	private String lastSceen;

	private String firstSceen;

	/**
	 * 获取checkSum
	 * 
	 * @return checkSum checkSum
	 */
	public String getCheckSum() {
		return checkSum;
	}

	/**
	 * 设置checkSum
	 * 
	 * @param checkSum
	 *            checkSum
	 */
	public void setCheckSum(String checkSum) {
		this.checkSum = checkSum;
	}

	/**
	 * 获取total
	 * 
	 * @return total total
	 */
	public double getTotal() {
		return total;
	}

	/**
	 * 设置total
	 * 
	 * @param total
	 *            total
	 */
	public void setTotal(double total) {
		this.total = total;
	}

	/**
	 * 获取avg
	 * 
	 * @return avg avg
	 */
	public double getAvg() {
		return avg;
	}

	/**
	 * 设置avg
	 * 
	 * @param avg
	 *            avg
	 */
	public void setAvg(double avg) {
		this.avg = avg;
	}

	/**
	 * 获取max
	 * 
	 * @return max max
	 */
	public double getMax() {
		return max;
	}

	/**
	 * 设置max
	 * 
	 * @param max
	 *            max
	 */
	public void setMax(double max) {
		this.max = max;
	}

	/**
	 * 获取min
	 * 
	 * @return min min
	 */
	public double getMin() {
		return min;
	}

	/**
	 * 设置min
	 * 
	 * @param min
	 *            min
	 */
	public void setMin(double min) {
		this.min = min;
	}

	/**
	 * 获取count
	 * 
	 * @return count count
	 */
	public long getCount() {
		return count;
	}

	/**
	 * 设置count
	 * 
	 * @param count
	 *            count
	 */
	public void setCount(long count) {
		this.count = count;
	}

	/**
	 * 获取querySql
	 * 
	 * @return querySql querySql
	 */
	public String getQuerySql() {
		return querySql;
	}

	/**
	 * 设置querySql
	 * 
	 * @param querySql
	 *            querySql
	 */
	public void setQuerySql(String querySql) {
		this.querySql = querySql;
	}

	/**
	 * 获取databse
	 * 
	 * @return databse databse
	 */
	public String getDatabse() {
		return databse;
	}

	/**
	 * 设置databse
	 * 
	 * @param databse
	 *            databse
	 */
	public void setDatabse(String databse) {
		this.databse = databse;
	}

	/**
	 * 获取host
	 * 
	 * @return host host
	 */
	public String getHost() {
		return host;
	}

	/**
	 * 设置host
	 * 
	 * @param host
	 *            host
	 */
	public void setHost(String host) {
		this.host = host;
	}

	/**
	 * 获取user
	 * 
	 * @return user user
	 */
	public String getUser() {
		return user;
	}

	/**
	 * 设置user
	 * 
	 * @param user
	 *            user
	 */
	public void setUser(String user) {
		this.user = user;
	}

	/**
	 * 获取lastSceen
	 * 
	 * @return lastSceen lastSceen
	 */
	public String getLastSceen() {
		return lastSceen;
	}

	/**
	 * 设置lastSceen
	 * 
	 * @param lastSceen
	 *            lastSceen
	 */
	public void setLastSceen(String lastSceen) {
		this.lastSceen = lastSceen;
	}

	/**
	 * 获取firstSceen
	 * 
	 * @return firstSceen firstSceen
	 */
	public String getFirstSceen() {
		return firstSceen;
	}

	/**
	 * 设置firstSceen
	 * 
	 * @param firstSceen
	 *            firstSceen
	 */
	public void setFirstSceen(String firstSceen) {
		this.firstSceen = firstSceen;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "SlowLogDetailDto [checkSum=" + checkSum + ", total=" + total + ", avg=" + avg + ", max=" + max
				+ ", min=" + min + ", count=" + count + ", querySql=" + querySql + ", databse=" + databse + ", host="
				+ host + ", user=" + user + ", lastSceen=" + lastSceen + ", firstSceen=" + firstSceen + "]";
	}

}
